<template>
  <div class="base-card">
    <div class="img">
      <img :src="info.img" />
    </div>
    <div class="base-card-conent">
      <div class="title">{{ info.title }}</div>
      <div class="describe">{{ info.describe }}</div>
    </div>
  </div>
</template>

<script setup lang="ts" name="ServerCard">
defineProps<{
  info: {
    title: string
    img: string
    describe: string
  }
}>()
</script>

<style scoped lang="less">
.base-card {
  //   width: 620px;
  height: 100%;
  padding: 15px;
  display: flex;
  align-items: center;
  //   justify-content: space-between;
  margin: 20px;
  border-radius: 5px;
  box-shadow: 0 0 0.625rem rgba(129, 129, 129, 0.25);

  .img {
    width: 200px;
    height: 140px;
    text-align: center;
  }
  .title {
    margin: 30px 0;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
  }
  .describe {
    width: 200px;
    color: #888;
  }
}
.base-card-conent {
  margin-left: 100px;
}
</style>
